﻿# 添加可执行文件

set(BOOST_ROOT /usr/local/)

find_package(Boost REQUIRED COMPONENTS cobalt thread)

add_executable(cobalt_test main.cpp test.cpp)

target_link_libraries(cobalt_test PRIVATE dl pthread rt Boost::cobalt Boost::thread)
